package com.jt9003.service.impl;


import com.jt9003.dao.Price_paymentMapper;
import com.jt9003.pojo.Price;
import com.jt9003.service.Price_paymentservice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class Price_paymentimpl implements Price_paymentservice {


    @Resource
    private Price_paymentMapper price_paymentMapper;


    @Override
    public List<Price> getpricelist(Map map) {
        return price_paymentMapper.getpricelist(map);
    }


    @Override
    public Price findpriceyp(String p_name) {

        return price_paymentMapper.findpriceyp(p_name);
    }

    @Override
    public int pricecount(Map map) {
        return  price_paymentMapper.pricecount(map);
    }

    @Override
    public int updatalistjf(Price price) {
        return price_paymentMapper.updatalistjf(price);
    }


}
